<div class="createacampaign">
<a href="http://buzzr.in/advertisers/dashboard">Return to Dashboard</a><br />
After making the changes that you require, click on 'Save Changes'.  The changes will take effect immediately. <br /> 
<?php
if (is_user_logged_in())
{
$id = pods_url_variable('last');
$Record = new Pod('deal', $id);
if ($Record->get_field('quickcamp')) {
$fields = array('name','camp_link', 'camp_cat', 'brand', 'short', 'image', 'extlink', 'camp_end'=>array('input_helper'=>''),'camp_start'=>array('input_helper'=>''),'latlng','deal_address','tags' => array('post_save' => 'set_tag'),'tag_pick','slider','oriprice','disper','disprice');
}
else
{
$fields = array('name','camp_link', 'camp_cat', 'brand', 'short', 'extlink', 'terms', 'couponcode', 'city', 'image', 'ext_image_url', 'camp_end'=>array('input_helper'=>''),'camp_start'=>array('input_helper'=>''),'latlng','deal_address','tags' => array('post_save' => 'set_tag'),'tag_pick','slider','oriprice','disper','disprice');
}
echo $Record->publicForm($fields, 'Submit Changes');
}
else
{
    echo 'You need to be logged to edit this campaign.  Please browse to the advertiser page to log in.';
}
?>